<ol class="breadcrumb">
    <li><a href="#">奇妙云箱</a></li>
    <li><a href="/device/list">设备管理</a></li>
    <li>摇一摇设置</li>
</ol>
<div class="panel panel-default">
    <div class="panel-heading">
        <span class="glyphicon glyphicon-pencil"></span>
        <span class="panel-title">请填写摇一摇信息</span>
    </div>
    <div class="panel-body">
        <form action="/device/shake" method="post" name="form2" class="form-horizontal">
            <input type="hidden" value="<%= id %>" name="id">
            <input type="hidden" value="<%= doc.page_id %>" name="page_id">
            <div class="form-group">
                <label class="control-label col-xs-2">主标题：</label>

                <div class="col-xs-9">
                    <input type="text" class="form-control" name="page_title" value="<%= doc.page_title %>" maxlength="6"/>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2">副标题：</label>

                <div class="col-xs-9">
                    <input type="text" class="form-control" name="page_description" value="<%= doc.page_description %>" maxlength="7"/>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2">活动链接：</label>

                <div class="col-xs-9">
                    <input type="text" class="form-control" name="page_url" value="<%= doc.page_url %>"/>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2">图标链接：</label>

                <div class="col-xs-9">
                    <input type="text" class="form-control" name="page_icon_url" value="<%= doc.page_icon_url %>"/>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2">活动备注：</label>

                <div class="col-xs-9">
                    <input type="text" class="form-control" name="page_comment" value="<%= doc.page_comment %>"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-9 col-xs-offset-2">
                    <input type="submit" class="btn btn-success col-xs-2"
                           value="提交" id="sub_btn">
                </div>
            </div>
        </form>
    </div>
</div>